
<template>
    <div class="storage"> 
        <div class="storage_rights">
           <iframe width="100%" height="100%" id="terminal" frameborder="0" class="ifram"></iframe>
           <div class="divifram"></div>
       </div>
    </div>
</template>
<script>
//操作信息
export default {
    data(){
        return{}
    },
    methods:{
       url(){
           let iframe = document.getElementById("terminal");
           var configport=this.$store.state.strNodeName
           var configip=this.$store.state.IPPORT
           var configipnew=configip.split(":")
           let url = configip+"/cockpit/@localhost/system/index.html";
           console.log(url);
           iframe.setAttribute("src", url);
       } 
	},
	mounted(){
		this.url()
	},
}
</script>
<style scoped>
.storage_rights{
    height: 87vh;
}
 /* .divifram{
     width: 100%;
     height: 100%;
     position: absolute;
     top:0;
     z-index: 2;
 } */
</style>